import request from '@/utils/request'
/**
 *搜索优惠券
 */
export function getCoupons(data) {
  return request({
    url: '/UserServiceApi/searchCoupon',
    method: 'post',
    data
  })
}
/**
 *销毁优惠券
 *
 */
export function getWriteOffCoupons(data) {
  return request({
    url: '/UserServiceApi/varifyCoupon',
    method: 'post',
    data
  })
}
